<div class="box box-solid box-fusion no-shadow no-border">
    <div class="box-body">
        <div id="resourceList" style="width: 100%">
            <table class="table table-inner-bordered table-hover">
                <thead>
                <th class="col-md-2 col-lg-2">
                    应用名称
                </th>
                <th class="col-md-2 col-lg-2">
                    版本号
                </th>
                <th class="col-md-2 col-lg-2">
                    context
                </th>
                <th class="col-md-2 col-lg-2">
                    分类
                </th>
                <th class="col-md-2 col-lg-2">
                    创建时间
                </th>
                </thead>
                <tbody>
                <#if (data??)&&(data?size>0)>
                    <#list data as record>
                    <tr record-id='${record.id}'>
                        <td>${(record.displayName)!''}</td>
                        <td>${(record.version)!''}</td>
                        <td>${(record.context)!''}</td>
                        <td>${(record.category.name)!''}</td>
                        <td>${(record.createTime)!''}</td>
                    </tr>
                    </#list>
                </#if>
                </tbody>
            </table>
        </div>
    </div>
</div>
<script>
    context.call([
        "core",
        "list",
    ], function (core, list) {
        list.addViewEventOnly("#modal", "/console/app");
    });
</script>